package com.fujifilm.project.plan.security;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import lombok.Data;

/**
 * 
 * 
 * @date 2025年6月06日
 * @time 23:31:51
 * @description
 * 
 */
@ConfigurationProperties(prefix = "security.jwt")
@Data
@Component
public class JwtProperties {
    // key for signing JWT tokens (security.jwt.secret-key)
    private String secretKey;
    // expiration time for JWT tokens in milliseconds (security.jwt.expiration)
    private long expiration;
    // expiration time for refresh tokens in milliseconds
    // (security.jwt.refresh-expiration)
    private long refreshExpiration;
}
